package com.lc.recovery.http.request;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;
import com.lc.recovery.bean.RecoveryBean;

import java.util.List;

public class Orders2Api implements IRequestApi, IRequestType {
    private String user_id;

    private String storage_id;
    private List<RecoveryBean> shops;
    public Orders2Api setShops(List shops) {
        this.shops = shops;
        return this;
    }

    public Orders2Api setUser_id(String user_id) {
        this.user_id = user_id;
        return this;
    }



    public Orders2Api setStorage_id(String storage_id) {
        this.storage_id = storage_id;
        return this;
    }



    @Override
    public String getApi() {
        return "orders";
    }


    @Override
    public BodyType getType() {
        return BodyType.JSON;
    }
}
